package com.atguigu.common.exception;


import lombok.Getter;

@Getter
public enum BizCodeEnum {

    UNKNOW_EXCEPTION(10001,"系统未知错误"),
    VALID_EXCEPTION(10000,"数据校验失败");



    private Integer code;
    private String msg;


    BizCodeEnum(int code,String msg){
        this.code = code;
        this.msg = msg;
    }


}
